package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.entity.Setmeal;
import com.itheima.jsonresult.JsonResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linying
 * @since 2022-10-13
 */
public interface SetmealService extends IService<Setmeal> {

    JsonResult add(Setmeal setmeal);

    JsonResult put(Setmeal setmeal);

    JsonResult delete(String ids);

    JsonResult getPage(String name, Integer page, Integer pageSize);

    JsonResult status(String status, String ids);

    JsonResult getSetmealById(String id);

    JsonResult setmealList(String categoryId, String status);
}
